<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录</title>
<link rel="stylesheet" href="<?php echo $this->_webroot('style/register.css'); ?>" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->_webroot('style/css.css'); ?>" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->_webroot('style/content.css'); ?>" type="text/css" />
<script language="JavaScript">
<!--
function changImg(id){
document.getElementById(id).src ='<?php echo $this->_url('user/kcaptcha') .'?'; ?>'+Math.random(1);
}
//-->
</script>

<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery-1.7.1.min.js'); ?>"></script>

<script type="text/javascript">
jQuery(function(){
	$('.member_radio1').click(function(){
		$(this).addClass('member_check').siblings('.member_radio1').removeClass('member_check');
	});	
});
</script>
</head>

<body>

<psp:tags     htmlname='user_topnav'  iconname='usertopnav' />
    
    <div class="head">
    	<div class="logo_box1 logo_margin">
        	<a href="" class="logo_box1_a"><img src="<?php echo $this->_webroot('images/logo1.gif'); ?>" alt="" /></a>
            <div class="logo_box1_span">找回密码</div>
        </div>        
    </div>
    
    <div class="middle_nav">
    	<div class="middle_nav_content">
        	<span class="agreement_span">还没有爱搜货账号？<a href="<?php echo $this->_url('user/agreement'); ?>" class="click_register">点击此注册</a></span>
        </div>
    </div>
    
    <!-- container -->
    <div class="container">

<style>
.clearfix:after {
    clear: both;
    content: " ";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
.ttlm_login {
    border-top: 0px solid #F77A06;
    color: #F77A06;
    font-size: 14px;
    font-weight: bolder;
    margin: 5px 0 20px;
    padding: 22px 0 12px 12px;
}
.findpsw {
    margin: 0 auto;
    text-align: center;
    width: 487px;
}
.findpsw h4 {
    background: url("<?php echo $this->_webroot('images1/ttlm_findpsw.jpg'); ?>") no-repeat scroll 100px top transparent;
    color: #555555;
    font: 26px/2em "黑体";
    padding-left: 130px;
}
.findpsw .tab_findpsw {
    margin-top: 35px;
}
.findpsw .tab_findpsw th {
    color: #666666;
    font-size: 14px;
    padding-bottom: 25px;
    text-align: right;
}
.findpsw .tab_findpsw td {
    padding-bottom: 25px;
    padding-left: 10px;
    text-align: left;
}
.btn_02 {
    background: url("<?php echo $this->_webroot('images1/btn_02_bg.gif'); ?>") no-repeat scroll left top transparent;
    border: medium none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 14px;
    font-weight: bolder;
    height: 32px;
    width: 84px;
}
table {
    font-size: inherit;
    border-collapse: collapse;
    border-spacing: 0;
}
.ipt_nomal {
    background-color: #FFFFFF;
    border-color: #A0B4C5;
}

.txt_230 {
    border: 1px solid #CCCCCC;
    color: #333333;
    height: 20px;
    line-height: 20px;
    padding: 5px;
    width: 220px;
}
.txt_4 {
    border: 1px solid #CCCCCC;
    color: #333333;
    height: 20px;
    line-height: 20px;
    margin-right: 10px;
    padding: 5px;
    width: 80px;
}
</style>	
<div class="clearfix" id="contents">
		<h3 class="ttlm_login"><font style="padding-left: 100px;"><?php echo $msg;?></font></h3>
	    <div class="findpsw">
	      	<h4>如果你忘记了登录密码</h4>
		      <form onsubmit="return checkform();" method="post" action="<?php echo $this->_url('user/forgot/?do=forgot3'); ?>">
		      <table class="tab_findpsw">
		      	<tbody>
		       	<tr>
		        	<th>请输入您注册时的邮箱帐号：</th>
		         <td><input type="text" name="user_email" autocomplete="off" class="txt_230 ipt_nomal"></td>
		        </tr>
		        <tr>
			        <th>输入图片中的字符：</th>
	         		<td>
						<input type="text" maxlength="8" id="veriCode" name="veriCode" class="txt_4 ipt_nomal">
						<img border="0"  align="absmiddle" src="<?php echo $this->_url('user/kcaptcha') .'?'. time(); ?>" id="cheimg" title="看不清，换一个" onClick="changImg('cheimg');" style="margin-bottom:-16px; width:81px; height:41px;" />
          				<a onclick="changImg('cheimg');" href="#">  换一张 </a><span id="veriCode_message"></span>
	         		</td>
		        </tr>
		        <tr>
		        	<th></th>
		         <td><input type="submit" value="找回密码" class="btn_02"></td>
		        </tr>
		       </tbody>
		      </table>
		     </form>
	   </div>
  	</div>	
	
	
	
<script language="JavaScript">
<!--
function checkform() {

	var user_email_reg = /^[0-9a-zA-Z_\-\.]+@[0-9a-zA-Z_\-]+(\.[0-9a-zA-Z_\-]+)*$/;
	if(document.getElementsByName("user_email")[0].value=='') {
		alert("邮件名称不能为空！");
		return false;
	}else if(!document.getElementsByName("user_email")[0].value.match(user_email_reg)) {
		alert("您输入的邮箱格式不正确");
		return false;
	}

	var veriCode = document.getElementsByName('veriCode')[0];

	if(veriCode.value=='') {
		alert("验证码不能为空");
		return false;
	}
	return true;
}
//-->
</script>	
	

        <div class="clear"></div>
    </div>
    <!-- container end -->    
    
    <psp:tags     htmlname='user_login_reg_footer'  iconname='user_login_reg_footer' />
    
</body>
</html>